<template>
  <div>
    <div class="gz1">
      <div class="gx">
        <p>本周更新</p>

        <div class="imgs">
          <img src="4.jpg" class="img2" />
          <img src="4.jpg" class="img3" />
          <img src="4.jpg" />
          <span>6</span>人更新>
        </div>
      </div>
      <div class="pes-cent" v-for="(v, i) in arr" :key="i">
        <div class="left">
          <img :src="v.userpic" class="img5" />
          <div>
            <p class="p2">{{ v.uname }}</p>
            <p class="p3">29.3万粉丝 | 宝藏村名的日常</p>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      arr: [],
    };
  },
  created() {
    this.arr = JSON.parse(window.sessionStorage.getItem("gzList"));
    console.log(this.arr);
  },
};
</script>

<style scoped>
.gz1 {
  padding-left: 0.37rem;
  padding-right: 0.37rem;
}
.gx {
  height: 1.13rem;
  width: 6.84rem;
  border: 0.03rem solid #e2e2e2;
  margin: 0 auto;
  border-radius: 0.12rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 550;
  padding-left: 0.15rem;
}
.imgs {
  padding-right: 0.15rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.2rem;
  color: #bbbbbb;
}
img {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
}
.img2 {
  position: relative;
  left: 0.3rem;
}
.img3 {
  position: relative;
  left: 0.2rem;
}
.pes-cent {
  height: 1.74rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.4rem;
  border-bottom: 0.01rem solid #f2f2f2;
}
.img5 {
  width: 1.08rem;
  height: 1.08rem;
  border-radius: 50%;
}
.p2 {
  margin-bottom: 0.2rem;
  font-size: 0.27rem;
  color: #444444;
}
.p3 {
  font-size: 0.18rem;
  color: #aaaaaa;
}
.left {
  display: flex;
  justify-content: left;
  align-items: center;
  padding-top: 0.15rem;
}
</style>